# 定义需要爬取的视频地址
url = "https://v2.kwaicdn.com/ksc2/R89-KfTe8WVQfJxekPmucRARYjwRRJD3kFQZu4JA6GrRkYi5cMbbPTM7pyNFO0c9lCQwzJW1Rl35CoAKVUgTbrJxxICw_r7mozqXPMHbaHxDFfGPu1aZQo--l24kQQwXu5siBTja6DmFQmFX7Ms-axmtxkGlDTltA8EJixFegK7spzKQ69QBbRemKuEK4mHu.mp4?pkey=AAVo2vlso67YrBXytNH49OBIJIWbTDdWodxM-aLnoPPZusx5F6hJw22V_kPsHe1JUlIuPS5m6FrC6SpGo7B51NlY0taOEhQEp10zRliJUf1RzzB5pBxLvdCzzQeTaG_qG_g&tag=1-1714444723-unknown-0-erulqcvyhz-27ad2b888dcfc459&clientCacheKey=3xi3mkkhg4sv2ea_b.mp4&di=JAmKcAqVfzCvdn7BoOUU2w==&bp=10004&tt=b&ss=vp"
#向一个网址去请求数据,带上一个模块 requests请求模块
import requests
res = requests.get(url)
print(res)

open("ww.mp4" , "wb").write(res.content)
